package com.gusto.engine.storage.persistence;

import java.util.List;


public interface PersistencePlugin {
	
	public Double getDistance(String context, String resource1, String resource2);
	public void updateDistance(String context, String resource1, String resource2, Double similarity);
	public void cleanDistances(String context);
	
	public List<Neighbor> getNeighborhood(String context, String resource, Double minDistance, Integer maxNeighbors);
	
}
